VERSION 1.0 CLASS
BEGIN
  MultiUse = -1  'True
  Persistable = 0  'NotPersistable
  DataBindingBehavior = 0  'vbNone
  DataSourceBehavior  = 0  'vbNone
  MTSTransactionMode  = 0  'NotAnMTSObject
END
Attribute VB_Name = "clsSocket"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = True
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Option Explicit

Private WithEvents Winsock As Winsock
Attribute Winsock.VB_VarHelpID = -1

Private Sub Class_Initialize()
    Set Winsock = frmMain.Controls.Add("MSWinsock.Winsock.1", frmMain.GenerateUniqueObjectId())
End Sub

Private Sub Class_Terminate()
    Set Winsock = Nothing
End Sub

Private Sub Winsock_Close()
'
End Sub

Private Sub Winsock_Connect()
'
End Sub

Private Sub Winsock_DataArrival(ByVal bytesTotal As Long)
'
End Sub

Private Sub Winsock_Error(ByVal Number As Integer, Description As String, ByVal Scode As Long, ByVal Source As String, ByVal HelpFile As String, ByVal HelpContext As Long, CancelDisplay As Boolean)
'
End Sub
